Skip to content

fix overwritten issue for pull and periodic html#328

Open
ArthurChenCoding wants to merge 2 commits intocloud-bulldozer:mainfrom
ArthurChenCoding:main
Open

fix overwritten issue for pull and periodic html#328
ArthurChenCoding wants to merge 2 commits intocloud-bulldozer:mainfrom
ArthurChenCoding:main

Conversation

@ArthurChenCoding
Copy link
Member

@ArthurChenCoding ArthurChenCoding commented Mar 24, 2026

Issue:

When --pr-analysis --viz are both enabled, both pull and periodic figures are generated, but pull is overwritten by periodic as the generated HTML file has the same name. Hence, the HTML file only contains the periodic figure.

Fix:

Add a suffix to the file name according to the type of run

Result(test):

For a query like this:

orion \                                          
  --config examples/trt-external-payload-node-density.yaml \
  --hunter-analyze \
  --pr-analysis \
  --input-vars '{"version":"4.22","jobtype":"pull","pull_number":"2975","organization":"openshift","repository":"ovn-kubernetes"}' \
  --benchmark-index 'ripsaw-kube-burner-*' \
  --metadata-index 'perf_scale_ci*' \
  --lookback 15d \
  --save-output-path pr2975.txt \
  --viz
  

Will result in these 2 files:

pr2975_payload-node-density_periodic_viz.html
pr2975_payload-node-density_pull_viz.html

@openshift-ci openshift-ci bot requested review from mcornea and venkataanil March 24, 2026 19:00
@openshift-ci
Copy link

openshift-ci bot commented Mar 24, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign vishnuchalla for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ArthurChenCoding ArthurChenCoding self-assigned this Mar 24, 2026
@ArthurChenCoding ArthurChenCoding force-pushed the main branch 2 times, most recently from 8b1fb62 to cf137d2 Compare March 24, 2026 20:48
ArthurChenCoding and others added 2 commits March 24, 2026 17:06
Signed-off-by: ArthurChenCoding <artchen@redhat.com>
Signed-off-by: ArthurChenCoding <artchen@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant